
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';

floatButton(){
  return FloatingActionButton.large(
    backgroundColor: Colors.transparent,
    elevation: 0,
    onPressed: () {
      Get.until((route) => route.isFirst);
    },
    child: Image.asset("assets/images/float_back.png", width: 80.w, fit: BoxFit.fitWidth,),
  );
}